package com.spt.springbootzhsx.service;

import com.spt.springbootzhsx.entity.Admin;
import com.spt.springbootzhsx.entity.back.LoginBack;
import com.spt.springbootzhsx.entity.wx.WxLogin;

public interface LoginService {
    //用户普通登录
    LoginBack UserLogin(Integer uid, String password);
    //管理员普通登录
    Admin AdminLogin(Integer aid,String password);

    //获取SessionId
    String getSessionId(String code);

    //返回token以及用户数据
    LoginBack getToken(WxLogin wxLogin);

}
